﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VM.Entity.EntityMap.DataBase
{
    public class sys_dataBase
    {
        #region Model
        private int _id;
        private int _typeid;
        private string _name;
        private string _engname;
        private string _code;
        private int _issystem;
        private string _desc;
        private int _createuserid;
        private DateTime _createdate;
        private int _updateuserid;
        private DateTime _updatedate;
        private int _isforbidden;
        private int _forbiddenuserid;
        private DateTime _forbiddendate;
        private int _isauditing;
        private int _auditinguserid;
        private DateTime _auditingdate;
        private int _unauditinguserid;
        private DateTime _unauditingdate;
        /// <summary>
        /// 内码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsOnlyIgnoreInsert = true)]
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        
        public int? parentId { get; set; }
        /// <summary>
        /// ????     ?????       ??0   ??? 1  
        /// </summary>
        public int typeId
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// ??
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// ???
        /// </summary>
        public string engName
        {
            set { _engname = value; }
            get { return _engname; }
        }
        /// <summary>
        /// ??
        /// </summary>
        public string code
        {
            set { _code = value; }
            get { return _code; }
        }
        /// <summary>
        /// ????  ???(???)?????
        /// </summary>
        public int isSystem
        {
            set { _issystem = value; }
            get { return _issystem; }
        }
        /// <summary>
        /// ????
        /// </summary>
        public string desc
        {
            set { _desc = value; }
            get { return _desc; }
        }
        /// <summary>
        /// ???  ??????
        /// </summary>
        public int createUserId
        {
            set { _createuserid = value; }
            get { return _createuserid; }
        }
        /// <summary>
        /// ???? ??????
        /// </summary>
        public DateTime createDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// ????? ???????,?????????
        /// </summary>
        public int updateUserId
        {
            set { _updateuserid = value; }
            get { return _updateuserid; }
        }
        /// <summary>
        /// ??????  ???????,?????????
        /// </summary>
        public DateTime updateDate
        {
            set { _updatedate = value; }
            get { return _updatedate; }
        }
        /// <summary>
        /// ????  0 ?  1?
        /// </summary>
        public int isForbidden
        {
            set { _isforbidden = value; }
            get { return _isforbidden; }
        }
        /// <summary>
        /// ???  ??????????????????
        /// </summary>
        public int forbiddenUserId
        {
            set { _forbiddenuserid = value; }
            get { return _forbiddenuserid; }
        }
        /// <summary>
        /// ???? ?????????????????
        /// </summary>
        public DateTime forbiddenDate
        {
            set { _forbiddendate = value; }
            get { return _forbiddendate; }
        }
        /// <summary>
        /// ????  0 ?  1?
        /// </summary>
        public int isAuditing
        {
            set { _isauditing = value; }
            get { return _isauditing; }
        }
        /// <summary>
        /// ???   ???????,???????????
        /// </summary>
        public int auditingUserId
        {
            set { _auditinguserid = value; }
            get { return _auditinguserid; }
        }
        /// <summary>
        /// ????  ?????????????????,???,?????,??
        /// </summary>
        public DateTime auditingDate
        {
            set { _auditingdate = value; }
            get { return _auditingdate; }
        }
        /// <summary>
        /// ????  ??????,????????????
        /// </summary>
        public int unAuditingUserId
        {
            set { _unauditinguserid = value; }
            get { return _unauditinguserid; }
        }
        /// <summary>
        /// ?????  ??????????????????,????,????,??
        /// </summary>
        public DateTime unAuditingDate
        {
            set { _unauditingdate = value; }
            get { return _unauditingdate; }
        }
        #endregion Model


    }
}
